package org.hdlh;

import org.hdlh.protocol.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@ComponentScan(basePackages = {"org.hdlh.spring", "org.hdlh.service"})
@SpringBootApplication
public class NettyProviderApp{
    public static void main( String[] args ){
        SpringApplication.run(NettyProviderApp.class, args);
        new NettyServer("127.0.0.1", 8080).startNettyServer();
    }
}
